<?php
/* @var $this NewsController */
/* @var $data News */

$this->breadcrumbs = array(
    'News' => array('index'),
    $data->id,
);

$this->menu = array(
    array('label' => 'List News', 'url' => array('index')),
    array('label' => 'Create News', 'url' => array('create')),
    array('label' => 'Update News', 'url' => array('update', 'id' => $data->id)),
    array('label' => 'Delete News', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $data->id), 'confirm' => 'Are you sure you want to delete this item?')),
    array('label' => 'Manage News', 'url' => array('admin')),
);
?>

<h1>View News #<?php echo $data->id; ?></h1>

<?php
$this->widget('ext.extended.DetailView', array(
    'data' => $data,
    'attributes' => array(
        array(
            'name'=>'id_',
            'value'=>$data->id,
        ),
        array(
            'name'=>'status_',
            'value'=>$data->status,
        ),
        array(
            //'name'=>'title_',
            'value'=>$data->title,
        ),
        array(
            //'name'=>'content_',
            'value'=>$data->content,
            'type'=>'html',
        ),
        array(
            //'name'=>'sefUrl_',
            'value'=>$data->sefUrl,
        ),
        array(
            //'name'=>'metaTitle_',
            'value'=>$data->metaTitle,
        ),
        array(
            //'name'=>'metaDescription_',
            'value'=>$data->metaDescription,
        ),
        array(
            //'name'=>'metaKeywords_',
            'value'=>$data->metaKeywords,
        ),
        array(
            'name' => 'Created Date',
            'value' => date('d-M-Y H:i:s', $data->createdTime),
        ),
        array(
            'name'=>'Creator',
            'value'=>$data->creatorName,
        ),
        array(
            'name' => 'Modified Date',
            'value' => date('d-M-Y H:i:s', $data->updatedTime),
        ),
        array(
            'name'=>'Modifier',
            'value'=>$data->editorName,
        ),
    ),
));
?>
